#ifndef OBJECTSWIDGET_H
#define OBJECTSWIDGET_H

#include <QWidget>
#include <QtGui>
#include "copawidget.h"
#include "botellawidget.h"
#include "sillawidget.h"

class ObjectsWidget : public QWidget
{
    Q_OBJECT

    QVBoxLayout *main_layout;

    void HideAllWidgets();

public:
    explicit ObjectsWidget(QWidget *parent = 0);
    CopaWidget *copawidget;
    BotellaWidget *botellawidget;
    SillaWidget *sillawidget;


signals:
    void ObjectChanged(Modelo *model);
    void Updated();

public slots:
    void Update();
    void ChangeObject(const QString &nombre);
};

#endif // OBJECTSWIDGET_H
